package com.net.xpay.alipay.flexible;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * 2020/4/25 11:37

 * 支付宝配置常量 后续可改成配置文件
 */
@Configuration
@Getter
@Setter
@PropertySource(value = "classpath:/flexible-alipay-config/application-${spring.profiles.active}.properties", encoding="UTF-8")
@ConfigurationProperties(prefix = "flexible-alipay")
public class FlexibleAlipayProperties {
    //请求网关
    public String alipayTopUrl;

    //消息订阅服务器地址
    public String serverHost;

    //应用ID
    public String alipayAppId;

    //应用私钥
    public String appPrivateKey;

    //支付宝公钥
    public String alipayPublicKey;

}
